<?php

// Classe: Utilizador
// Autor(es): Rui Gaspar
// Gerada em: 11/08/2011 00:10:48

class Utilizador{
	private $nome;
	private $email;
	private $username;
	private $password;
	private $avatar;
	private $admin;
	 
	 
	function __construct($nome, $email, $username, $password, $avatar, $admin) {
		$this->nome = $nome;
		$this->email = $email;
		$this->username = $username;
		$this->password = $password;
		$this->avatar = $avatar;
		$this->admin = $admin;
	}
	 
	function Utilizador(){
		$this->nome = "nome_";
		$this->email = "email_";
		$this->username = "username_";
		$this->password = "password_";
		$this->avatar = "empty.jpg";
		$this->admin = 0;
	}

	 
	 

	public function get_nome(){
		return $this->nome;
	}
	public function set_nome($nome){
		$this->nome = $nome;
	}
	public function get_email(){
		return $this->email;
	}
	public function set_email($email){
		$this->email = $email;
	}
	public function get_username(){
		return $this->username;
	}
	public function set_username($username){
		$this->username = $username;
	}
	public function get_password(){
		return $this->password;
	}
	public function set_password($password){
		$this->password = $password;
	}
	public function get_admin(){
		return $this->admin;
	}
	public function set_admin($admin) {
		$this->admin = $admin;
	}

	public function get_avatar() {
		return $this->avatar;
	}

	public function set_avatar($avatar) {
		$this->avatar = $avatar;
	}
	 
	 
}

?>